package com.blue.wechat.receive.model;

import java.util.Date;

import com.blue.core.dict.WechatResponseType;

/**
 * 微信响应信息基类
 * 
 * @author zhengj
 * @since 2016年5月26日 1.0
 */
public abstract class AbstractResponse
{
	private String toUserName;
	private String fromUserName;
	private Date createTime;
	private WechatResponseType type;

	// 匹配数据库字段
	private Integer wechatId;
	private Integer userId;
	private Long id;

	public AbstractResponse()
	{
	}

	public String getToUserName()
	{
		return toUserName;
	}

	public void setToUserName(String toUserName)
	{
		this.toUserName = toUserName;
	}

	public String getFromUserName()
	{
		return fromUserName;
	}

	public void setFromUserName(String fromUserName)
	{
		this.fromUserName = fromUserName;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public WechatResponseType getType()
	{
		return type;
	}

	public void setType(WechatResponseType type)
	{
		this.type = type;
	}

	public Integer getWechatId()
	{
		return wechatId;
	}

	public void setWechatId(Integer wechatId)
	{
		this.wechatId = wechatId;
	}

	public Integer getUserId()
	{
		return userId;
	}

	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

}
